package com.vanysoft.business.sys.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.vanysoft.business.sys.entity.Notify;
import com.vanysoft.framework.config.database.BaseService;

import java.util.List;
import java.util.Map;

/**
 * 角色service
 *
 * @author qi_ma
 */
public interface NotifyService extends BaseService<Notify> {
    /**
     * 系统通知
     *
     * @param condition 查询条件
     * @return List<Notify>
     */
    List<Notify> selectAll(Map<String, Object> condition);

    /**
     * 系统通知
     *
     * @param page condition:查询条件
     * @return Page<Notify>
     */
    Page<Notify> selectAll(Page<Notify> page);
}
